package org.aicfve.solarangle.service;

import org.aicfve.previze.solar.entity.Coordinate;
import org.aicfve.previze.solar.entity.SolarAngle;
import org.aicfve.previze.solar.utils.SolarAngleUtils;
import org.springframework.stereotype.Service;

import java.util.Date;


@Service
public class SolarAngleService {

    public SolarAngle compute(Date date, Coordinate coordinate, int TimeZone) {

        SolarAngle solarAngle = SolarAngleUtils.get(date,coordinate, TimeZone);

        return solarAngle;
    }
}
